import request from '@/utils/request'

export function getAttachmentListApi(data) {
    return request({
        url: '/api/attachment.attachment/index',
        method: 'post',
        data: data
    })
}

export function doUpload(data) {
    return request({
        url: '/api/attachment.attachment/upload',
        method: 'post',
        data: data
    })
}

export function deleteAttachmentApi(data) {
    return request({
        url: '/api/attachment.attachment/delete',
        method: 'post',
        data: data
    })
}

